{temp('html/recruit/pc/head')}

<script>
function gbdz(id,nn,cc){//改变地址
	$.post('{$_url}/?act=get_diqu',{id:id},function(data){
		$("#"+nn).html(data);
		if(cc != ''){
			$("#"+cc).html('<option value="0">请选择</option>');
		}
	});
}
function tijiao(){
	var name = $("#name").val();
	var sex = $('input:radio[name=sex]:checked').val();
	var cstime = $("#cstime").val();
	var xsheng = $("#xsheng").val();
	var xshi = $("#xshi").val();
	var xqu = $("#xqu").val();
	var xsq = $("#xsq").val();
	var bytime = $("#bytime").val();
	var minzu = $("#minzu").val();
	var hksheng = $("#hksheng").val();
	var hkshi = $("#hkshi").val();
	var hkqu = $("#hkqu").val();
	var hk = $("#hk").val();
	var sfzh = $("#sfzh").val();
	var zhuangtai = $('input:radio[name=zhuangtai]:checked').val();
	var zttime = $("#zttime").val();
	var hyzt = $('input:radio[name=hyzt]:checked').val();
	var byyx = $("#byyx").val();
	var xueli = $("#xueli").val();
	var zhuanye = $("#zhuanye").val();
	var waiyu = $("#waiyu").val();
	var zzmm = $("#zzmm").val();
	var qq = $("#qq").val();
	var grzy = $("#grzy").val();
	$.post('{$_url}/?act=job&met=pt_xgzl',{name:name,sex:sex,cstime:cstime,
		xsheng:xsheng,xshi:xshi,xqu:xqu,xsq:xsq,bytime:bytime,minzu:minzu,hksheng:hksheng,
		hkshi:hkshi,hkqu:hkqu,hk:hk,sfzh:sfzh,zhuangtai:zhuangtai,zttime:zttime,hyzt:hyzt,
		byyx:byyx,xueli:xueli,zhuanye:zhuanye,waiyu:waiyu,zzmm:zzmm,qq:qq,grzy:grzy},function(data){
		if(data == '修改成功'){
			location.href='{$_url}/?act=job&met=ptzjzl';
		}else{
			alert(data);
		}
	});
}
</script>
</head>
<body>

{temp('html/recruit/pc/zjia/toubu')}

		<!--主体内容-->
		<div class="w_bai dis_inline t_m10 t_c">
			<!--详细-->
			<div class="w_1100 auto_0">
				<!--左侧-->
				<div class="w_286 f_l c_656565 bc_FFF bor_C6 xddw"  style="margin-top:-61px">
					<!--右阴影图片-->
					<div class="f_r xddw" style="margin-right:-38px;margin-top:-1px">
						<img src="{$style}/images/yinying_you2.png">
					</div>
					<!--右阴影图片结束-->
					<!--标题-->
					<div class="h_50 l_h50 f_s18 bc_127ABF c_FFF t_l">
						<span class="l_m20">基本信息</span>
					</div>
					<!--标题结束-->
					<!--列表-->
					<div id="geren_zuo">
						<ul>
							<li id="list">
								<div class="f_l ziliao2"></div>
								<div class="dis_inline l_m10">
									<a href="{$_url}/?act=job&met={if(@$_SESSION['zclx'] == 1)}ptzjzl{elseif(@$_SESSION['zclx'] == 2)}vipzjzl{else}#{/if}">完善资料</a>
								</div>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>

							<li id="list2">
								<div class="f_l ren"></div>
								<div class="dis_inline l_m10">
									<a href="{$_url}/?act=job&met=zj_txsc">上传专家头像</a>
								</div>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>
							<li id="list2">
								<div class="f_l xiupwd"></div>
								<div class="dis_inline l_m15">
									<a href="{$_url}/?act=job&met=zj_xgmm">修改密码</a>
								</div>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>
							
							<li id="list2">
								<div class="f_l qy_email t_m5"></div>
								<div class="dis_inline l_m12">
									<a href="{$_url}/?act=job&met=zj_xgyx">修改E-mail</a>
								</div>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>
							
							<li id="list2">
								<div class="f_l t_m5 dianhua"></div>
								<div class="dis_inline l_m12">
									<a href="{$_url}/?act=job&met=zj_xgsj">修改联系电话</a>
								</div>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>
						</ul>
					</div>
					<!--列表结束-->
				</div>
				<!--左侧结束-->
				<!--右侧-->
				<div class="w_804 l_m5 f_r bc_FFF bor_C6 t_l">
					<!--标题-->
					<div class="t_m15 l_m20">
						<span class="f_s20 c_323131">完善资料</span>
						<span class="c_7D7D7D">(请认真填写个人资料，保证信息的准确和完整)</span>
					</div>
					<!--标题结束-->
					<!--分割线-->
					<div class="bor_C6 bor_di_none t_m10"></div>
					<!--分割线结束-->
					<!--基本信息-->
					<div class="w_bai t_m25">
						<!--图标及提示字-->
						<div class="w_bai dis_inline">
							<div class="geren f_l t_m3 l_m20"></div>
							<div class="f_l l_m5 f_s18 c_323131">基本信息</div>
						</div>
						<!--图标及提示字结束-->
						<!--内容-->
						<div class="t_m15 l_m40 dis_inline">
							<!--姓名-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m52"  style="_margin-left:39px">
									<span class="c_656565">姓名</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" class="inp_msg" id="name" value="{if(@$rs['name'])}{$rs['name']}{/if}" placeholder="如：张三" />
								</div>
							</div>
							<!--姓名结束-->
							<!--性别-->
							<div class="w_bai t_m5 dis_inline">
								<div class="f_l t_m8 l_m52"  style="_margin-left:39px">
									<span class="c_656565">性别</span>
								</div>
								<div class="f_l t_m8 c_656565" style="margin-left:10px!important;margin-left:15px">
									<input type="radio" name="sex" value="1" {if(@$rs['sex'] == 1)}checked="checked"{/if} />男
									<input type="radio" name="sex" value="2" {if(@$rs['sex'] == 2)}checked="checked"{/if} class="l_m20" />女
									<input type="radio" name="sex" value="0" {if(@$rs['sex'] == 0)}checked="checked"{/if} class="l_m20" />保密
								</div>
							</div>
							<!--性别结束-->
							<!--民族-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m52"  style="_margin-left:39px">
									<span class="c_656565">民族</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" class="inp_msg" id="minzu" value="{if(@$rs['minzu'])}{$rs['minzu']}{/if}" placeholder="如：汉" />
								</div>
							</div>
							<!--民族结束-->
							<!--出生日期-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">出生日期</span>
								</div>
								<div class="f_l l_m10">
									<input class="Wdate" type="text" id="cstime" value="{if(@$rs['cstime'])}{code(echo date('Y-m-d',$rs['cstime']))}{/if}"
                            		onfocus="WdatePicker({firstDayOfWeek:0,isShowClear:false,isShowOK:false,isShowToday:false})"/>
								</div>
							</div>
							<!--出生日期结束-->
							<!--现居住地-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">现所在地</span>
								</div>
								<div class="f_l" style="margin-left:10px!important;margin-left:20px">
									<div class="select-outer select-wh95 f_l">
										<div class="select-inner">
										<select id="xsheng" onChange="gbdz(this.value,'xshi','xqu')" class="select-h">
						        			<option value="0">请选择</option>
						        			{if(@$sh)}
						        			{foreach($sh as $k=>$v)}
						        			<option {if(@$rs['xsheng'] == $v['area_id'])}selected="selected"{/if} value="{$v['area_id']}">{$v['area_name']}</option>
						        			{/foreach}
						        			{/if}
						        		</select>
						        		</div>
						        	</div>
						        </div>
						        <div class="f_l">
									<div class="select-outer select-wh95 f_l l_m5">
										<div class="select-inner">
						        		<select id="xshi" onChange="gbdz(this.value,'xqu','')" class="select-h">
						        			<option value="0">请选择</option>
						        			{if(@$shi)}
						        			{foreach($shi as $k=>$v)}
						        			<option {if(@$rs['xshi'] == $v['area_id'])}selected="selected"{/if} value="{$v['area_id']}">{$v['area_name']}</option>
						        			{/foreach}
						        			{/if}
						        		</select>
						        		</div>
						        	</div>
						        </div>
						        <div class="f_l">
									<div class="select-outer select-wh95 f_l l_m5">
										<div class="select-inner">
						        		<select id="xqu" class="select-h">
						        			<option value="0">请选择</option>
						        			{if(@$qu)}
						        			{foreach($qu as $k=>$v)}
						        			<option {if(@$rs['xqu'] == $v['area_id'])}selected="selected"{/if} value="{$v['area_id']}">{$v['area_name']}</option>
						        			{/foreach}
						        			{/if}
						        		</select>
						        		</div>
						        	</div>
						        </div>
								<input type="text" class="inp_msg f_l l_m5" id="xsq" value="{if(@$rs['xsq'])}{$rs['xsq']}{/if}" placeholder="详细地址" />
							</div>
							<!--现居住地结束-->
							<!--户籍地址-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">户籍地址</span>
								</div>
								<div class="f_l" style="margin-left:10px!important;margin-left:20px">
									<div class="select-outer select-wh95 f_l">
										<div class="select-inner">
										<select id="hksheng" onChange="gbdz(this.value,'hkshi','hkqu')" class="select-h">
						        			<option value="0">请选择</option>
						        			{if(@$sh)}
						        			{foreach($sh as $k=>$v)}
						        			<option {if(@$rs['hksheng'] == $v['area_id'])}selected="selected"{/if} value="{$v['area_id']}">{$v['area_name']}</option>
						        			{/foreach}
						        			{/if}
						        		</select>
						        		</div>
						        	</div>
						        </div>
						        <div class="f_l">
									<div class="select-outer select-wh95 f_l l_m5">
										<div class="select-inner">
						        		<select id="hkshi" onChange="gbdz(this.value,'hkqu','')" class="select-h">
						        			<option value="0">请选择</option>
						        			{if(@$hkshi)}
						        			{foreach($hkshi as $k=>$v)}
						        			<option {if(@$rs['hkshi'] == $v['area_id'])}selected="selected"{/if} value="{$v['area_id']}">{$v['area_name']}</option>
						        			{/foreach}
						        			{/if}
						        		</select>
						        		</div>
						        	</div>
						        </div>
						        <div class="f_l">
									<div class="select-outer select-wh95 f_l l_m5">
										<div class="select-inner">
						        		<select id="hkqu" class="select-h">
						        			<option value="0">请选择</option>
						        			{if(@$hkqu)}
						        			{foreach($hkqu as $k=>$v)}
						        			<option {if(@$rs['hkqu'] == $v['area_id'])}selected="selected"{/if} value="{$v['area_id']}">{$v['area_name']}</option>
						        			{/foreach}
						        			{/if}
						        		</select>
						        		</div>
						        	</div>
						        </div>	
								<input type="text" class="inp_msg f_l l_m5" id="hk" value="{if(@$rs['hk'])}{$rs['hk']}{/if}" placeholder="详细地址" />
							</div>
							<!--户籍地址结束-->
							<!--身份证号-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">身份证号</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" class="inp_msg" id="sfzh" value="{if(@$rs['sfzh'])}{$rs['sfzh']}{/if}" />
								</div>
							</div>
							<!--身份证号结束-->
							<!--婚姻状态-->
							<div class="w_bai t_m5 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">婚姻状态</span>
								</div>
								<div class="f_l t_m8 c_656565" style="margin-left:10px!important;margin-left:15px">
									<input type="radio" name="hyzt" value="0" {if(@$rs['hyzt'] == 0)}checked="checked"{/if} />未婚
									<input type="radio" name="hyzt" value="1" {if(@$rs['hyzt'] == 1)}checked="checked"{/if} class="l_m20" />已婚
								</div>
							</div>
							<!--婚姻状态结束-->
							<!--毕业时间-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">毕业时间</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" class="Wdate" id="bytime" value="{if(@$rs['bytime'])}{code(echo date('Y-m-d',$rs['bytime']))}{/if}"
									onfocus="WdatePicker({firstDayOfWeek:0,isShowClear:false,isShowOK:false,isShowToday:false})" />
								</div>
							</div>
							<!--毕业时间结束-->
							<!--毕业院校-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">毕业院校</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" class="inp_msg" id="byyx" value="{if(@$rs['byyx'])}{$rs['byyx']}{/if}" />
								</div>
							</div>
							<!--毕业院校结束-->
							<!--学历-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m52"  style="_margin-left:39px">
									<span class="c_656565">学历</span>
								</div>
								<div class="f_l" style="margin-left:10px!important;margin-left:20px">
									<div class="select-outer select-wh120 f_l">
										<div class="select-inner">
										<select id="xueli" class="select-h">
						        			{if(@$_xueli)}
						        			{foreach($_xueli as $k=>$v)}
						        			<option {if(@$rs['xueli'] == $k)}selected="selected"{/if} value="{$k}">{$v}</option>
						        			{/foreach}
						        			{/if}
						        		</select>
						        		</div>
						        	</div>
								</div>
							</div>
							<!--学历结束-->
							<!--主修专业-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">主修专业</span>
								</div>
								<div class="f_l" style="margin-left:10px!important;margin-left:20px">
									<div class="select-outer select-wh120 f_l">
										<div class="select-inner">
										<select id="zhuanye" class="select-h">
						        			<option value="0">请选择</option>
						        			{if(@$zhuany)}
						        			{foreach($zhuany as $k=>$v)}
						        			<option {if(@$rs['zhuanye'] == $v['id'])}selected="selected"{/if} value="{$v['id']}">{$v['name']}</option>
						        			{/foreach}
						        			{/if}
						        		</select>
						        		</div>
						        	</div>
								</div>
							</div>
							<!--主修专业结束-->
							<!--外语语种-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">外语语种</span>
								</div>
								<div class="f_l" style="margin-left:10px!important;margin-left:20px">
									<div class="select-outer select-wh120 f_l">
										<div class="select-inner">
										<select id="waiyu" class="select-h">
						        			{if(@$_waiyu)}
						        			{foreach($_waiyu as $k=>$v)}
						        			<option {if(@$rs['waiyu'] == $k)}selected="selected"{/if} value="{$k}">{$v}</option>
						        			{/foreach}
						        			{/if}
						        		</select>
						        		</div>
						        	</div>
								</div>
							</div>
							<!--外语语种结束-->
							<!--政治面貌-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">政治面貌</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" class="inp_msg" id="zzmm" value="{if(@$rs['zzmm'])}{$rs['zzmm']}{/if}" />
								</div>
							</div>
							<!--政治面貌结束-->
							<!--QQ-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m55"  style="_margin-left:40px">
									<span class="c_656565">&nbsp;QQ</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" class="inp_msg" id="qq" value="{if(@$rs['qq'])}{$rs['qq']}{/if}" />
								</div>
							</div>
							<!--QQ结束-->
							<!--个人主页-->
							<div class="w_bai t_m15 dis_inline">
								<div class="f_l t_m8 l_m25">
									<span class="c_656565">个人主页</span>
								</div>
								<div class="f_l l_m10">
									<input type="text" class="inp_msg" id="grzy" value="{if(@$rs['grzy'])}{$rs['grzy']}{/if}" />
								</div>
							</div>
							<!--个人主页结束-->
							<!--确认按钮-->
							<div class="w_bai t_m40 b_m50 dis_inline">
								<div class="f_l w_88">&nbsp;</div>
								<div class="f_l w_200 h_35 l_h35 bc_E16400 c_FFF t_c point" onClick="tijiao()" 
									style="margin-left:3px!important;margin-left:13px;_margin-left:39px">
									保存专家信息
								</div>
							</div>
							<!--确认按钮结束-->
						</div>
						<!--内容结束-->
					</div>
					<!--基本信息结束-->
				</div>
				<!--右侧结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--主体内容结束-->


{temp('html/recruit/pc/foot')}